package Thread_Safety;

import org.junit.Test;

/**
 * @author 赵雨强
 * @create 2021/4/18 14:55
 */

public class SynchronizedTest {

    @Test
    public void test01(){
        SynchronizedStudy synchronizedStudy = new SynchronizedStudy();
        synchronizedStudy.ince();
        System.out.println(synchronizedStudy.number);

    }
}
